package com.hlkj.pay.app.merchant.ext.impl.baofu.dto.res;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.util.json.JsonUtils;
import com.hlkj.pay.app.merchant.ext.impl.baofu.util.BaoFuSigner;
import lombok.Data;

import java.io.UnsupportedEncodingException;

/**
 * @author HlpayTeam
 * @date 2024/12/20 17:22
 */
@Data
public class BaoFuReportNotifyRes {


    private String wallet_no;
    //AUDITING-审核中 FAIL-失败 SUCCESS-开户成功
    private String audit_status;
    //审核失败原因
    private String audit_info;
    //线下打款子账号
    private String account_no;
    //银行电子账号
    private String htAccount_no;
    // 审核时间
    private String audit_time;
    // 机构全称
    private String full_name;
    // 营业执照号
    private String business_license;
    public static void main(String[] args) throws UnsupportedEncodingException {
        BaoFuReportNotifyRes baoFuReportNotifyRes=new BaoFuReportNotifyRes();
        baoFuReportNotifyRes.setWallet_no("2241223000000220");
        baoFuReportNotifyRes.setAudit_status("SUCCESS");
        // baoFuReportNotifyRes.setAudit_info();
        baoFuReportNotifyRes.setAccount_no("1");
        baoFuReportNotifyRes.setHtAccount_no("1");
        baoFuReportNotifyRes.setAudit_time("20241224142611");
        // baoFuReportNotifyRes.setFull_name();
        // baoFuReportNotifyRes.setBusiness_license();

        String data = JsonUtils.toJsonString(baoFuReportNotifyRes);
        System.out.println(BaoFuSigner.Base64Encode(data));

    }
}
